package application.dao.entity;

public class User {
    private int ID;
    private String userName;
    private String passWord;
    private String resetCaptcha;
    private String realName;
    private String sex;
    private String idCard;
    private String telNumber;
    private String homeAddress;
    private int actApproval;
    private int isForbidden;

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getResetCaptcha() {
        return resetCaptcha;
    }

    public void setResetCaptcha(String resetCaptcha) {
        this.resetCaptcha = resetCaptcha;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getTelNumber() {
        return telNumber;
    }

    public void setTelNumber(String telNumber) {
        this.telNumber = telNumber;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public int getActApproval() {
        return actApproval;
    }

    public void setActApproval(int actApproval) {
        this.actApproval = actApproval;
    }

    public int getIsForbidden() {
        return isForbidden;
    }

    public void setIsForbidden(int isForbidden) {
        this.isForbidden = isForbidden;
    }

    public boolean validate() {
        return userName==null||passWord==null;
    }
}
